package com.itheima.zhaohang.livepalyonline;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.LinearLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.view.View;

import com.itheima.zhaohang.adpter.BasicRecycleViewAdapter;
import com.itheima.zhaohang.adpter.VidoPlayAdapter;
import com.itheima.zhaohang.been.VidoPlayBeen;
import com.itheima.zhaohang.function.VidoListPlay;
import com.scwang.smartrefresh.layout.SmartRefreshLayout;
import com.scwang.smartrefresh.layout.api.RefreshLayout;
import com.scwang.smartrefresh.layout.header.ClassicsHeader;
import com.scwang.smartrefresh.layout.listener.OnLoadmoreListener;
import com.scwang.smartrefresh.layout.listener.OnRefreshListener;

import java.util.ArrayList;
import java.util.List;

public class VidoPlayActivity extends AppCompatActivity {

    private RecyclerView       mRecycleview;
    private SmartRefreshLayout mRefreshLayout;
    private List<VidoPlayBeen> mListBeen = new ArrayList<>();
    private VidoPlayAdapter mAdapter;
    private String[] arrName = {
            "24小时新闻高清",
            "CCTV-1 FHD",
            "CCTV-1 HD",
            "CCTV-2",
            "CCTV-3 HD",
            "CCTV-4",
            "CCTV-7",
            "CCTV-8",
            "CCTV-9 HD",
            "CCTV-10 HD",
            "CCTV-11 HD",
            "CCTV-12 HD",
            "CCTV-13",
            "CCTV-13 HD",
            "CCTV-14 HD",
            "CCTV-15",
            "CCTV-15 HD",
            "CGTN-阿语",
            "CGTN-俄语",
            "CGTN-法语",
            "CGTN-国际",
            "CGTN-记录",
            "CGTN-西语",
            "CHC高清电影",
            "CNN",
            "FR-France24(English)",
            "FR-France24(English)",
            "NBA直播-1HD",
            "NBA直播-2HD",
            "NBA直播-3HD",
            "NBA直播-4HD",
            "NBA直播-5HD",
            "NBA直播-6HD",
            "NBA直播-7HD",
            "Newtv-潮妈辣婆",
            "Newtv-动画王国",
            "Newtv-古装剧场",
            "Newtv-海外剧场",
            "Newtv-家庭剧场",
            "Newtv-健康有约",
            "Newtv-金牌综艺",
            "Newtv-惊悚悬疑",
            "Newtv-精品大剧",
            "Newtv-精品电影",
            "Newtv-精品记录",
            "Newtv-军旅剧场",
            "Newtv-军事评论",
            "Newtv-明星大片",
            "Newtv-农业致富",
            "Newtv-喜剧电影",
            "Newtv-中国功夫",
            "UK-BBC WORLD NEWS",
            "US-ABC NEWS",
            "US-CBN News",
            "US-JCCC Cable TV(English)",
            "US-MSNBC(English)",
            "US-Newsmax TV",
            "US-WWSB(English)",
            "UTV第一电影",
            "UTV电影天地",
            "UTV钓鱼生活",
            "UTV动作电影",
            "UTV都市剧场",
            "UTV风云体育",
            "UTV家庭影院",
            "UTV经典剧场",
            "UTV经典影视",
            "UTV卡通动画",
            "UTV魅力青春",
            "UTV热播剧场",
            "UTV炫酷动漫",
            "UTV优视教育",
            "安阳科教",
            "安阳图文",
            "安阳新闻",
            "澳广视卫",
            "澳门Macau",
            "澳视澳门",
            "澳视葡语",
            "北京纪实",
            "北京体育",
            "兵团卫视",
            "亳州都市频道",
            "亳州农村频道",
            "亳州新闻频道",
            "超级体育1 HD",
            "超级体育2 HD",
            "超级体育3 HD",
            "超级体育4 HD",
            "超级体育5 HD",
            "超级体育6 HD",
            "超级体育7 HD",
            "超级体育8 HD",
            "滁州新闻综合",
            "大足文化频道",
            "大足综合频道",
            "垫江丹乡文化",
            "垫江综合频道",
            "东方Knews24新闻高清",
            "东方卫视 HD",
            "东莞公共",
            "东莞综合",
            "东南卫视",
            "丰都文化旅游",
            "丰都综合频道",
            "凤凰卫视",
            "凤凰卫视香港台",
            "凤凰卫视资讯台",
            "凤凰香港 HD",
            "凤凰香港HD1",
            "凤凰香港HD2",
            "凤凰香港台",
            "凤凰香港台HD",
            "凤凰中文 HD",
            "凤凰中文HD",
            "凤凰中文HD",
            "凤凰资讯 HD",
            "凤凰资讯HD",
            "凤凰资讯HD",
            "凤凰资讯HD1",
            "凤凰资讯HD2",
            "福建安溪",
            "福建东南卫视",
            "福州综合",
            "甘肃卫视",
            "甘肃卫视",
            "甘孜电视台",
            "广东深圳卫视HD",
            "广东卫视 HD",
            "广东卫视HD",
            "广平城市生活",
            "广平新闻频道",
            "广平影视频道",
            "贵州卫视",
            "贵州卫视 HD",
            "国家地理",
            "海南藏语",
            "海南公共",
            "海南旅游",
            "海南青少",
            "海南新闻",
            "海南影视",
            "海南综合",
            "邯郸公共频道",
            "邯郸科教频道",
            "邯郸新闻综合",
            "含山新闻综合",
            "含山影视频道",
            "韩-CTS",
            "韩-阿里郎电视台",
            "韩国-BBS",
            "韩国Billiards TV",
            "韩国-CBS",
            "韩国-CJ购物台",
            "韩国CTS",
            "韩国GoodTV",
            "韩国-GS Shop购物",
            "韩国-Happy Dog",
            "韩国-HISTORY",
            "韩国-HISTORY",
            "韩国-indoor Sports",
            "韩国-K Sports TV",
            "韩国-K??",
            "韩国-KBNTV",
            "韩国-KBS",
            "韩国KCTV",
            "韩国-KTV",
            "韩国-Living TV",
            "韩国-MBN",
            "韩国-MOUNTAIN TV",
            "韩国MTN，",
            "韩国-National Geographic",
            "韩国-NBN TV",
            "韩国-NEWS 24",
            "韩国-OBS",
            "韩国-OUTDOOR TRAVEL",
            "韩国PBC",
            "韩国-POLARIS TV",
            "韩国-QBS",
            "韩国-rbs",
            "韩国-Runway TV",
            "韩国-TBS",
            "韩国-TOMATO",
            "韩国-TV",
            "韩国-TV SEN",
            "韩国-TV SEN PLUS",
            "韩国XXtv",
            "韩国电视台，",
            "韩国-购物TV",
            "韩国-购物台",
            "河北保定二套",
            "河北保定三套",
            "河北保定一套",
            "河北都市",
            "河北都市",
            "河北公共",
            "河北公共",
            "河北经济",
            "河北农民",
            "河北农民",
            "河北少儿",
            "河北少儿",
            "河北唐山新闻综合",
            "河北卫视",
            "河北卫视 HD",
            "河北戏曲",
            "河北影视",
            "河北影视",
            "河南卫视",
            "河南卫视",
            "黑龙江卫视 HD",
            "黑龙江卫视HD",
            "衡水公共频道",
            "衡水新闻综合",
            "衡水影视娱乐",
            "湖北卫视",
            "湖北卫视 HD",
            "湖南电视剧",
            "湖南都市频道",
            "湖南公共频道",
            "湖南国际频道",
            "湖南卫视HD",
            "湖南娱乐频道",
            "怀化公共频道",
            "怀化新闻综合",
            "淮北公共",
            "惠州二套",
            "惠州一套",
            "济南都市",
            "济南都市",
            "济南商务",
            "济南商务",
            "济南少儿",
            "济南少儿",
            "济南生活",
            "济南生活",
            "济南新闻",
            "济南新闻",
            "济南影视",
            "济南影视",
            "济南娱乐",
            "济南娱乐",
            "加拿大- Assembly Nationale du Quebec (法语)270P",
            "加拿大- Canal Savoir (法语)480P",
            "加拿大- CPAC",
            "加拿大- CTV NEWS48",
            "加拿大- CTV NEWS48",
            "加拿大- The Shopping Channel",
            "加拿大- The Weather Network",
            "加拿大华人唐",
            "健康卫视",
            "江苏城市",
            "江苏卫视 HD",
            "江苏卫视HD",
            "江油文教",
            "江油新闻",
            "金华都市",
            "金华公共",
            "金华教育",
            "金华新闻",
            "金鹰纪实频道",
            "金寨文艺",
            "柳州新闻综合",
            "龙岩公共",
            "龙岩综合",
            "龙岩综合",
            "隆昌综合",
            "娄底公共频道",
            "娄底综合频道",
            "洛阳公共",
            "洛阳科教",
            "洛阳综合",
            "南方卫视",
            "内蒙古卫视",
            "宁夏卫视",
            "宁夏卫视",
            "奇妙电视",
            "迁安快乐3频道",
            "迁安新闻综合",
            "黔南都市频道",
            "黔南新闻频道",
            "青海卫视",
            "青海卫视",
            "泉州四台",
            "泉州一台",
            "人文地理记录",
            "三沙卫视",
            "厦门二套",
            "厦门三套",
            "厦门四套",
            "厦门卫视",
            "厦门一套",
            "山东教育",
            "山东齐鲁",
            "山东卫视 HD",
            "山东卫视HD",
            "山西黄河",
            "山西卫视",
            "山西卫视",
            "陕西卫视",
            "陕西卫视",
            "上海东方卫视HD",
            "上饶新闻综合",
            "邵武综合",
            "四川卫视",
            "台湾佛教",
            "太仓党建频道",
            "太仓娄东民生",
            "太仓新闻频道",
            "体育2台HD",
            "天津卫视 HD",
            "天津卫视HD",
            "万州三峡移民",
            "万州影视文艺",
            "万州综合频道",
            "唯心",
            "梧州新闻综合",
            "五星体育",
            "西安-1",
            "西安-2",
            "西安-3",
            "西安-4",
            "西安丝路",
            "西藏卫视",
            "西藏卫视",
            "香港卫视",
            "湘潭公共都市",
            "湘潭新闻综合",
            "新疆2台",
            "新疆3台",
            "新疆4台",
            "新疆5台",
            "新疆7台",
            "新疆8台",
            "新疆9台",
            "新疆12台",
            "星空卫视",
            "徐州-1",
            "徐州-2",
            "徐州-3",
            "徐州-4",
            "雅安公共",
            "雅安经视",
            "雅安新闻",
            "雅安雨城",
            "延安公共",
            "延安综合",
            "延边-1",
            "延边-2",
            "延边卫视",
            "阳光卫视",
            "耀才财经",
            "耀才财经",
            "壹新闻",
            "印度 india TV",
            "永年民生频道",
            "永年综合频道",
            "榆林二台",
            "榆林一台",
            "章丘农科",
            "章丘生活",
            "章丘新闻",
            "中国教育1",
            "中国教育2",
            "中国教育3",
            "中国教育4",
            "重庆卫视",
            "重庆卫视",
            "舟山公共",
            "舟山旅游",
            "舟山新闻",
            "珠海1台 HD",
            "珠海2台 HD",
            "株洲法制频道",
            "株洲公共民生",
            "株洲商务频道",
            "株洲新闻综合",
            "自贡公共",
            "自贡综合",
            "翡翠台",
            "武林外传",
            "新三国演义",
            "美剧",
            "港剧",
            "日剧",
            "美剧童年",
            "港片女神",
            "刘德华電影",
            "战旗电影"
    };
    private String[] arrUri  = {
            "http://hls.live.kksmg.com/live/live24h/playlist.m3u8",
            "http://116.77.76.2:5003/nn_live.ts?id=CCTV1HDTEST",
            "http://223.110.243.138/PLTV/2510088/224/3221227177/1.m3u8",
            "http://223.110.243.136/PLTV/2510088/224/3221227199/1.m3u8",
            "http://223.110.243.136/PLTV/3/224/3221227206/index.m3u8",
            "http://223.110.243.138/PLTV/2510088/224/3221227162/1.m3u8",
            "http://223.110.243.136/PLTV/2510088/224/3221227142/1.m3u8",
            "http://223.110.245.167/ott.js.chinamobile.com/PLTV/3/224/3221227204/index.m3u8",
            "http://223.110.241.204:6610/gitv/live1/G_CCTV-9/G_CCTV-9/?IASHttpSessionId=OTT1746120180512074345007629",
            "http://223.110.241.204:6610/gitv/live1/G_CCTV-10-HQ/G_CCTV-10-HQ/?IASHttpSessionId=OTT1746120180512074345007629",
            "http://223.110.241.204:6610/gitv/live1/G_CCTV-11-HQ/G_CCTV-11-HQ/?IASHttpSessionId=OTT1746120180512074345007629",
            "http://223.110.241.204:6610/gitv/live1/CCTV-12/CCTV-12/?IASHttpSessionId=OTT1746120180512074345007629",
            "http://223.110.243.150/PLTV/3/224/3221225560/index.m3u8",
            "http://223.110.241.204:6610/gitv/live1/G_CCTV-13-HQ/G_CCTV-13-HQ/?IASHttpSessionId=OTT1746120180512074345007629",
            "http://223.110.241.204:6610/gitv/live1/G_CCTV-14/G_CCTV-14/?IASHttpSessionId=OTT1746120180512074345007629",
            "http://183.207.249.7/PLTV/3/224/3221225568/index.m3u8",
            "http://223.110.241.204:6610/gitv/live1/G_CCTV-15/G_CCTV-15/?IASHttpSessionId=OTT1746120180512074345007629",
            "http://live.cgtn.com/cctv-a.m3u8",
            "http://live.cgtn.com/cctv-r.m3u8",
            "http://live.cgtn.com/cctv-f.m3u8",
            "http://live.cgtn.com/manifest.m3u8",
            "http://live.cgtn.com/cctv-d.m3u8",
            "http://live.cgtn.com/cctv-e.m3u8",
            "http://ivi.bupt.edu.cn/hls/chchd.m3u8",
            "http://unlimited1-us.dps.live/cnn/cnn.smil/playlist.m3u8",
            "http://f24hls-i.akamaihd.net/hls/live/221193/F24_EN_LO_HLS/master.m3u8",
             "http://static.france24.com/live/F24_EN_LO_HLS/live_web.m3u8",
             "http://223.110.243.170/PLTV/2/224/3221226795/index.m3u8",
                "http://223.110.243.170/PLTV/2/224/3221226797/index.m3u8",
                "http://223.110.243.170/PLTV/2/224/3221226799/index.m3u8",
                "http://223.110.243.170/PLTV/2/224/3221226801/index.m3u8",
                "http://223.110.243.170/PLTV/2/224/3221226803/index.m3u8",
                "http://223.110.243.170/PLTV/2/224/3221226803/index.m3u8",
                "http://223.110.243.170/PLTV/2/224/3221226807/index.m3u8",
                "http://223.110.245.170/PLTV/3/224/3221226983/index.m3u8",
                "http://183.207.249.15/PLTV/3/224/3221225555/index.m3u8",
                "http://183.207.249.14/PLTV/3/224/3221225527/index.m3u8",
                "http://183.207.249.16/PLTV/3/224/3221225547/index.m3u8",
                "http://183.207.249.14/PLTV/3/224/3221225549/index.m3u8",
                "http://183.207.249.14/PLTV/3/224/3221225545/index.m3u8",
                "http://183.207.249.16/PLTV/3/224/3221225559/index.m3u8",
                "http://183.207.249.15/PLTV/3/224/3221225561/index.m3u8",
                "http://183.207.249.14/PLTV/3/224/3221225569/index.m3u8",
                "http://183.207.249.14/PLTV/3/224/3221225567/index.m3u8",
                "http://183.207.249.14/PLTV/3/224/3221225557/index.m3u8",
                "http://183.207.249.15/PLTV/3/224/3221225531/index.m3u8",
                "http://183.207.249.14/PLTV/3/224/3221225533/index.m3u8",
                "http://183.207.249.14/PLTV/3/224/3221225535/index.m3u8",
                "http://183.207.249.14/PLTV/3/224/3221225537/index.m3u8",
                "http://183.207.249.12/PLTV/3/224/3221225525/index.m3u8",
                "http://223.110.245.171/PLTV/3/224/3221226935/index.m3u8",
                "http://89.211.63.16:1935/HR06/HR06.stream/chunklist.m3u8",
                "https://abclive1-lh.akamaihd.net/i/abc_live02@423396/master.m3u8",
                "http://bcliveuniv-lh.akamaihd.net/i/news_1@194050/master.m3u8",
                "http://stream.jccc.edu:1935/Cablestream/livestream/playlist.m3u8",
                "http://tvemsnbc-lh.akamaihd.net/i/nbcmsnbc_1@122532/master.m3u8",
                "https://nmxlive.akamaized.net/hls/live/529965/Live_1/index.m3u8",
                "http://live.field59.com/wwsb/ngrp:wwsb1_all/playlist.m3u8",
                "http://223.87.13.35:8114/LIVES/Fsv_otype=1&FvSeid=&Fsv_filetype=1&Fsv_chan_hls_se_idx=57&Provider_id=&Pcontent_id=index.m3u8",
                "http://223.87.13.35:8114/LIVES/Fsv_otype=1&FvSeid=&Fsv_filetype=1&Fsv_chan_hls_se_idx=48&Provider_id=&Pcontent_id=index.m3u8",
                "http://223.87.13.35:8114/LIVES/Fsv_otype=1&FvSeid=&Fsv_filetype=1&Fsv_chan_hls_se_idx=54&Provider_id=&Pcontent_id=index.m3u8",
                "http://223.87.13.35:8114/LIVES/Fsv_otype=1&FvSeid=&Fsv_filetype=1&Fsv_chan_hls_se_idx=43&Provider_id=&Pcontent_id=index.m3u8",
                "http://223.87.13.35:8114/LIVES/Fsv_otype=1&FvSeid=&Fsv_filetype=1&Fsv_chan_hls_se_idx=46&Provider_id=&Pcontent_id=index.m3u8",
                "http://223.87.13.35:8114/LIVES/Fsv_otype=1&FvSeid=&Fsv_filetype=1&Fsv_chan_hls_se_idx=53&Provider_id=&Pcontent_id=index.m3u8",
                "http://223.87.13.35:8114/LIVES/Fsv_otype=1&FvSeid=&Fsv_filetype=1&Fsv_chan_hls_se_idx=50&Provider_id=&Pcontent_id=index.m3u8",
                "http://223.87.13.35:8114/LIVES/Fsv_otype=1&FvSeid=&Fsv_filetype=1&Fsv_chan_hls_se_idx=49&Provider_id=&Pcontent_id=index.m3u8",
                "http://223.87.13.35:8114/LIVES/Fsv_otype=1&FvSeid=&Fsv_filetype=1&Fsv_chan_hls_se_idx=45&Provider_id=&Pcontent_id=index.m3u8",
                "http://223.87.13.35:8114/LIVES/Fsv_otype=1&FvSeid=&Fsv_filetype=1&Fsv_chan_hls_se_idx=51&Provider_id=&Pcontent_id=index.m3u8",
                "http://223.87.13.35:8114/LIVES/Fsv_otype=1&FvSeid=&Fsv_filetype=1&Fsv_chan_hls_se_idx=52&Provider_id=&Pcontent_id=index.m3u8",
                "http://223.87.13.35:8114/LIVES/Fsv_otype=1&FvSeid=&Fsv_filetype=1&Fsv_chan_hls_se_idx=44&Provider_id=&Pcontent_id=index.m3u8",
                "http://223.87.13.35:8114/LIVES/Fsv_otype=1&FvSeid=&Fsv_filetype=1&Fsv_chan_hls_se_idx=55&Provider_id=&Pcontent_id=index.m3u8",
                "http://223.87.13.35:8114/LIVES/Fsv_otype=1&FvSeid=&Fsv_filetype=1&Fsv_chan_hls_se_idx=56&Provider_id=&Pcontent_id=index.m3u8",
                "http://221.176.205.102:9600/live/kjpd/tzwj_video.m3u8",
                "http://221.176.205.102:9600/live/twpd/tzwj_video.m3u8",
                "http://221.176.205.102:9600/live/xwzhpd/tzwj_video.m3u8",
                "http://live4.tdm.com.mo/ch3/_definst_//ch3.live/playlist.m3u8",
                "http://live4.tdm.com.mo:80/ch3/_definst_//ch3.live/playlist.m3u8",
                "http://live4.tdm.com.mo:80/ch1/_definst_//ch1.live/playlist.m3u8",
                "http://live4.tdm.com.mo:80/ch2/_definst_//ch2.live/playlist.m3u8",
                "http://ivi.bupt.edu.cn/hls/btv11hd.m3u8",
                "http://ivi.bupt.edu.cn/hls/btv6hd.m3u8",
                "http://v.btzx.com.cn:1935/live/weishi.stream/playlist.m3u8",
                "http://218.22.251.12:8001/tslslive/gdhS3fc/hls/live_sd.m3u8",
                "http://218.22.251.12:8001/tslslive/JpWzs2u/hls/live_sd.m3u8",
                "http://218.22.251.12:8001/tslslive/wT9aUpL/hls/live_sd.m3u8",
                "http://39.134.52.162/wh7f454c46tw3498689980_663871177/hwottcdn.ln.chinamobile.com/PLTV/88888890/224/3221226019/index.m3u8",
                "http://39.134.52.185/wh7f454c46tw3537423667_-945976133/hwottcdn.ln.chinamobile.com/PLTV/88888890/224/3221226020/index.m3u8",
                "http://39.134.52.180/wh7f454c46tw3571653152_-2066612672/hwottcdn.ln.chinamobile.com/PLTV/88888890/224/3221226023/index.m3u8",
                "http://39.134.52.183/wh7f454c46tw3605758820_-2143308693/hwottcdn.ln.chinamobile.com/PLTV/88888890/224/3221226024/index.m3u8",
                "http://39.134.52.172/wh7f454c46tw3633585374_215135606/hwottcdn.ln.chinamobile.com/PLTV/88888890/224/3221226027/index.m3u8",
                "http://39.134.52.183/wh7f454c46tw3669132437_-1850260639/hwottcdn.ln.chinamobile.com/PLTV/88888890/224/3221226030/index.m3u8",
                "http://39.134.52.181/wh7f454c46tw3821303500_-921252786/hwottcdn.ln.chinamobile.com/PLTV/88888890/224/3221226040/index.m3u8",
                "http://39.134.52.155/wh7f454c46tw3865793157_-581653894/hwottcdn.ln.chinamobile.com/PLTV/88888890/224/3221226042/index.m3u8",
                "http://183.167.193.45:1935/live/cztvzh/playlist.m3u8",
                "http://183.230.1.208:3170/hls5.m3u8",
                "http://183.230.1.208:3170/hls1.m3u8",
                "http://125.62.24.185:8010/hls/stream/qcx9dxe6.m3u8",
                "http://125.62.24.185:8010/hls/stream/dxxwp33w.m3u8",
                "http://hls.live.kksmg.com/live/live24h/playlist.m3u8",
                "http://223.110.243.138/PLTV/3/224/3221227208/index.m3u8",
                "http://mtv.sun0769.com/dgrtv1/mp4:tv2/index.m3u8",
                "http://mtv.sun0769.com/dgrtv1/mp4:tv1/index.m3u8",
                "http://223.110.243.158/PLTV/3/224/3221225598/index.m3u8",
                "http://125.62.25.201:1936/output0.m3u8",
                "http://125.62.25.201:1935/output0.m3u8",
                "http://223.110.243.155:80/PLTV/3/224/3221226977/index.m3u8",
                "http://223.110.243.142/PLTV/2510088/224/3221227183/1.m3u8",
                "http://223.110.243.142/PLTV/2510088/224/3221227163/1.m3u8",
                "http://223.82.250.72/live/fhhongkong/1.m3u8",
                "http://223.82.250.72/live/fhhongkong/1.m3u8",
                "http://223.82.250.72/ysten-bussiness/live/fhhongkong/1.m3u8",
                "http://183.207.249.35/PLTV/3/224/3221226975/index.m3u8",
                "http://183.207.249.35/PLTV/3/224/3221226975/index.m3u8",
                "http://223.82.250.72/live/fhchinese/1.m3u8",
                "http://223.110.245.139/PLTV/3/224/3221226922/index.m3u8",
                "http://223.82.250.72/ysten-bussiness/live/fhchinese/1.m3u8",
                "http://223.82.250.72/live/fhzixun/1.m3u8",
                "http://223.82.250.72/live/fhzixun/1.m3u8",
                "http://223.110.243.155:80/PLTV/3/224/3221226980/index.m3u8",
                "http://223.110.245.139:80/PLTV/3/224/3221226980/index.m3u8",
                "http://223.82.250.72/ysten-bussiness/live/fhzixun/1.m3u8",
                "http://r.gslb.lecloud.com/live/hls/2018010830000007213/desc.m3u8",
                "http://223.110.243.158/PLTV/3/224/3221225598/index.m3u8",
                "http://live1.fzntv.cn/live/zohi_fztv1/playlist.m3u8",
                "http://223.110.243.158/PLTV/3/224/3221225590/index.m3u8",
                "http://223.110.243.158/PLTV/3/224/3221225590/index.m3u8",
                "http://stream.ganzitv.com/xwzh/sd/live.m3u8",
                "http://223.110.243.171/PLTV/3/224/3221227217/index.m3u8",
                "http://223.110.243.136/PLTV/3/224/3221227249/index.m3u8",
                "http://223.110.243.136/PLTV/3/224/3221227249/index.m3u8",
                "http://hbgp.chinashadt.com:1935/live/stream:gpcs.stream/playlist.m3u8",
                "http://hbgp.chinashadt.com:1935/live/stream:gpxw.stream/playlist.m3u8",
                "http://hbgp.chinashadt.com:1935/live/stream:gpys.stream/playlist.m3u8",
                "http://223.110.243.152/PLTV/3/224/3221225540/index.m3u8",
                "http://223.110.243.152/PLTV/3/224/3221225540/index.m3u8",
                "http://adtv.ercdn.net/adnatgeo/adnatgeo_720p.m3u8",
                "http://live.hnzzzzzdst.com/channel1/sd/live.m3u8",
                "http://stream1.hnntv.cn/ggpd/sd/live.m3u8",
                "http://stream1.hnntv.cn/lywsgq/sd/live.m3u8",
                "http://stream1.hnntv.cn/sepd/sd/live.m3u8",
                "http://stream1.hnntv.cn/xwpd/sd/live.m3u8",
                "http://stream1.hnntv.cn/ysjpd/sd/live.m3u8",
                "http://stream1.hnntv.cn/zhpd/sd/live.m3u8",
                "http://mms.hdbs.cn:1936/live/education_sd/playlist.m3u8",
                "http://mms.hdbs.cn:1936/live/public_sd/playlist.m3u8",
                "http://mms.hdbs.cn:1935/live/hdxw/playlist.m3u8",
                "http://live.hswltv.com:1936/live/live102/500K/tzwj_video.m3u8",
                "http://live.hswltv.com:1936/live/live103/500K/tzwj_video.m3u8",
                "rtmp://111.118.21.79/etv1/phd28",
                "rtmp://edge1.everyon.tv/etv1//phd36",
                "rtmp://edge1.everyon.tv:1935/etv1/phd553",
                "rtmp://edge1.everyon.tv:1935/etv1sb/phd191",
                "http://cbs-live.gscdn.com/cbs-live/cbs-live.stream/playlist.m3u8",
                "http://edge1.everyon.tv/etv1sb/phd1057/chunklist_w401758269.m3u8",
                "rtmp://edge1.everyon.tv:1935/etv1/phd28",
                "rtmp://mobliestream.c3tv.com:554/live/goodtv.sdp",
                "http://edge2.everyon.tv/etv2/phd883/chunklist_w819446759.m3u8",
                "http://edge2.everyon.tv/etv2/phd1193/chunklist_w2101972309.m3u8",
                "rtmp://edge1.everyon.tv/etv1sb/pld551",
                "rtmp://111.118.21.79/etv1sb/phd551",
                "http://edge2.everyon.tv/etv2/phd1197/chunklist_w771063379.m3u8",
                "http://edge2.everyon.tv/etv2sb/phd1371/chunklist_w1066708373.m3u8",
                "http://edge1.everyon.tv/etv1/phd207/chunklist_w276388442.m3u8",
                "http://edge1.everyon.tv/etv1/phd387/chunklist_w1890557880.m3u8",
                "http://123.108.164.71/etv2/phd847/playlist.m3u8",
                "rtmp://122.202.129.136:1935/live/ch5",
                "http://218.38.152.69:1935/da_live/72136989/mp4:ch001/playlist.m3u8",
                "http://edge2.everyon.tv/etv2/phd13/chunklist_w276808095.m3u8",
                "http://edge2.everyon.tv/etv2sb/phd17/playlist.m3u8",
                "http://edge2.everyon.tv/etv2/phd337/playlist.m3u8",
                "rtmp://edge1.everyon.tv/etv1sb/pld18",
                "http://edge1.everyon.tv/etv1sb/phd1297/chunklist_w1802493452.m3u8",
                "http://edge2.everyon.tv/etv2/phd639/chunklist_w302693476.m3u8",
                "http://edge2.everyon.tv/etv2/phd133/chunklist_w624155223.m3u8",
                "http://edge2.everyon.tv/etv2/phd1042/chunklist_w1741023166.m3u8",
                "http://edge2.everyon.tv/etv2/phd30/chunklist_w1437445556.m3u8",
                "rtmp://49.1.248.21:1935/live/mp4:tv",
                "http://edge2.everyon.tv/etv2/phd14/chunklist_w2140982361.m3u8",
                "http://edge1.everyon.tv/etv1sb/phd957/chunklist_w1009272558.m3u8",
                "http://edge2.everyon.tv/etv2/phd1053/chunklist_w1574455414.m3u8",
                "http://edge2.everyon.tv/etv2sb/phd753/chunklist_w881820644.m3u8",
                "http://edge2.everyon.tv/etv2/phd40/chunklist_w2003601230.m3u8",
                "http://edge1.everyon.tv/etv1/phd25/chunklist_w1130002342.m3u8",
                "http://edge2.everyon.tv/etv2/phd1331/chunklist_w784217044.m3u8",
                "http://edge2.everyon.tv/etv2/phd22/playlist.m3u8",
                "http://edge1.everyon.tv/etv1sb/phd1268/chunklist_w617580583.m3u8",
                "rtmp://edge1.everyon.tv:1935/etv1sb/phd563",
                "rtmp://live.chosun.gscdn.com/live/tvchosun1.stream",
                "http://edge2.everyon.tv/etv2sb/phd1370/chunklist_w1879314468.m3u8",
                "http://edge2.everyon.tv/etv2/phd901/chunklist_w1142218250.m3u8",
                "http://live.bdgdw.com/channel2/sd/live.m3u8",
                "http://live.bdgdw.com/channel3/sd/live.m3u8",
                "http://live.bdgdw.com/channel1/sd/live.m3u8",
                "http://weblive.hebtv.com/live/hbds_bq/index.m3u8",
                "http://weblive.hebtv.com/live/hbds_bq/index.m3u8",
                "http://weblive.hebtv.com/live/hbgg_bq/index.m3u8",
                "http://weblive.hebtv.com/live/hbgg_bq/index.m3u8",
                "http://weblive.hebtv.com/live/hbjj_bq/index.m3u8",
                "http://weblive.hebtv.com/live/nmpd_bq/index.m3u8",
                "http://weblive.hebtv.com/live/nmpd_bq/index.m3u8",
                "http://weblive.hebtv.com/live/hbse_bq/index.m3u8",
                "http://weblive.hebtv.com/live/hbse_bq/index.m3u8",
                "http://hbfr.chinashadt.com:2036/live/10007.stream/chunklist_w1925180668.m3u8",
                "http://weblive.hebtv.com/live/hbws_bq/index.m3u8",
                "http://weblive.hebtv.com/live/hbws_bq/index.m3u8",
                "http://117.158.206.60:9080/live/live31_tzwj_500k.m3u8",
                "http://weblive.hebtv.com/live/hbys_bq/index.m3u8",
                "http://weblive.hebtv.com/live/hbys_bq/index.m3u8",
                "http://223.110.243.147/PLTV/3/224/3221225632/index.m3u8",
                "http://223.110.243.147/PLTV/3/224/3221225632/index.m3u8",
                "http://223.110.243.169/PLTV/3/224/3221227252/index.m3u8",
                "http://223.110.243.169/PLTV/3/224/3221227252/index.m3u8",
                "http://hls.hsrtv.cn/hls/hstv3.m3u8",
                "http://hls.hsrtv.cn/hls/hstv1.m3u8",
                "http://hls.hsrtv.cn/hls/hstv2.m3u8",
                "http://223.110.243.171/PLTV/3/224/3221227211/index.m3u8",
                "http://223.110.243.171/PLTV/3/224/3221227211/index.m3u8",
                "http://pili-live-hls.mgk.hnxwlb.net/mangolive/MGY_HN_JS.m3u8",
                "http://pili-live-hls.mgk.hnxwlb.net/mangolive/MGY_HN_DS.m3u8",
                "http://pili-live-hls.mgk.hnxwlb.net/mangolive/MGY_HN_public.m3u8",
                "http://pili-live-hls.mgk.hnxwlb.net/mangolive/MGY_HN_GJ.m3u8",
                "http://183.207.249.7/PLTV/2/224/3221225908/3.m3u8",
                "http://pili-live-hls.mgk.hnxwlb.net/mangolive/MGY_HN_YL.m3u8",
                "http://live1.0745tv.com/jjpd/sd/live.m3u8",
                "http://live1.0745tv.com/xwzh/sd/live.m3u8",
                "http://live1.0561rtv.com:9600/live/live2/800K/tzwj_video.m3u8",
                "http://pili-playback.liveh2.sobeycache.com/huizhou/hzdszb002.m3u8",
                "http://pili-playback.liveh2.sobeycache.com/huizhou/hzdszb001.m3u8",
                "http://ts1.ijntv.cn/jnds/sd/live.m3u8",
                "http://ts1.ijntv.cn/jnds/playlist.m3u8",
                "http://ts1.ijntv.cn/jnsw/playlist.m3u8",
                "http://ts1.ijntv.cn/jnsw/sd/live.m3u8",
                "http://ts2.ijntv.cn/jnse/playlist.m3u8",
                "http://ts2.ijntv.cn/jnse/sd1/live.m3u8",
                "http://ts2.ijntv.cn/jnsh/sd/live.m3u8",
                "http://ts2.ijntv.cn/jnsh/playlist.m3u8",
                "http://ts1.ijntv.cn/xwhd/playlist.m3u8",
                "http://ts1.ijntv.cn/xwhd/hd/live.m3u8",
                "http://ts1.ijntv.cn/yshd/hd/live.m3u8",
                "http://ts1.ijntv.cn/jnyd/playlist.m3u8",
                "http://ts2.ijntv.cn/jnyl/playlist.m3u8",
                "http://ts2.ijntv.cn/jnyl/sd/live.m3u8",
                "http://diffusionm4.assnat.qc.ca/canal9/250.sdp/playlist.m3u8",
                "http://stream.canalsavoir.tv/livestream/stream.m3u8",
                "http://bcoveliveios-i.akamaihd.net/hls/live/248519/1242843915001_1/master.m3u8",
                "http://ams-lp5.9c9media.com/hls-live/livepkgr/_definst_/liveNews/News48.m3u8",
                "http://ams-lp10.9c9media.com/hls-live/livepkgr/_definst_/liveNews/News18.m3u8",
                "http://tscstreaming-lh.akamaihd.net/i/TSCLiveStreaming_1@91031/master.m3u8",
                "http://weather-lh.akamaihd.net:80/i/twc_1@92006/master.m3u8",
                "http://174.127.67.246/live330/playlist.m3u8",
                "http://live.jkwshk.tv/AppName/StreamName.m3u8",
                "http://183.207.249.8/PLTV/4/224/3221225929/index.m3u8",
                "http://223.110.243.160/PLTV/3/224/3221227255/index.m3u8",
                "http://223.110.243.160/PLTV/3/224/3221227255/index.m3u8",
                "http://vod.scjygd.com:1935/live/smil:whjy_copy.smil/playlist.m3u8",
                "http://vod.scjygd.com:1935/live/smil:xwzh_copy.smil/playlist.m3u8",
                "http://stream.jinhua.com.cn/dsnc/app/live.m3u8",
                "http://stream.jinhua.com.cn/jjsh/app/live.m3u8",
                "http://stream.jinhua.com.cn/jykj/app/live.m3u8",
                "http://stream.jinhua.com.cn/xwzh/app/live.m3u8",
                "http://pili-live-hls.mgk.hnxwlb.net/mangolive/MGY_HN_JYJS.m3u8",
                "rtmp://112.26.80.214/live/wenyi",
                "http://219.159.248.118:8134/hls-live/livepkgr/_definst_/liveevent/xw.m3u8",
                "http://stream.lytv.net.cn/1/sd/live.m3u8",
                "http://stream.lytv.net.cn/2/sd/live.m3u8",
                "http://stream.lytv.net.cn/2/sd/live.m3u8",
                "http://live.mudu.tv/watch/x4lyk6.m3u8",
                "http://119.39.242.52:1935/live/gonggong/playlist.m3u8",
                "http://119.39.242.52:1935/live/zonghe/playlist.m3u8",
                "http://live2.lytv.com.cn:1935/live/LYTV3-2/playlist.m3u8",
                "http://live2.lytv.com.cn:1935/live/LYTV2-2/playlist.m3u8",
                "http://live1.lytv.com.cn:1935/live/LYTV1-2/playlist.m3u8",
                "http://stream1.grtn.cn/tvs2/sd/live.m3u8?_upt=38c033aa1511535258",
                "http://223.110.243.142/PLTV/3/224/3221225624/index.m3u8",
                "http://223.110.243.147/PLTV/3/224/3221225628/index.m3u8",
                "http://223.110.243.147/PLTV/3/224/3221225628/index.m3u8",
                "http://media.fantv.hk/m3u8/archive/channel2_stream1.m3u8",
                "http://app.qatv.cn:1936/live/stream:kl3pd.stream_720p/playlist.m3u8",
                "http://app.qatv.cn:1936/live/stream:xwzh.stream_720p/playlist.m3u8",
                "http://gzqn.chinashadt.com:1936/live/qntv2.stream/playlist.m3u8",
                "http://gzqn.chinashadt.com:1936/live/qntv5.stream/playlist.m3u8",
                "http://223.110.243.158/PLTV/3/224/3221225580/index.m3u8",
                "http://223.110.243.158/PLTV/3/224/3221225580/index.m3u8",
                "http://live.qztvxwgj.com/live/mny.m3u8",
                "http://live.qztvxwgj.com/live/news.m3u8",
                "http://117.158.206.60:9080/live/renwendili.m3u8",
                "http://stream1.hnntv.cn/ssws/playlist.m3u8",
                "http://cstv.live.wscdns.com/live/xiamen2/playlist.m3u8",
                "http://cstv.live.wscdns.com/live/xiamen3/playlist.m3u8",
                "http://cstv.live.wscdns.com/live/xiamen4/playlist.m3u8",
                "http://cstv.live.wscdns.com/live/xiamen/playlist.m3u8",
                "http://cstv.live.wscdns.com/live/xiamen1/playlist.m3u8",
                "http://live.sdetv.com.cn/live/sdetv/playlist.m3u8",
                "http://ksdlive.gwpd.iqilu.com/qlpd.m3u8",
                "http://223.110.243.171/PLTV/3/224/3221227258/index.m3u8",
                "http://223.110.243.171/PLTV/3/224/3221227258/index.m3u8",
                "http://live3.sxrtv.com/flvss?bitrate=512000&channel=HuangHeNews&start=0&provider=www.tvmining.com",
                "http://223.110.243.159/PLTV/3/224/3221225576/index.m3u8",
                "http://223.110.243.159/PLTV/3/224/3221225576/index.m3u8",
                "http://223.110.243.152/PLTV/3/224/3221225626/index.m3u8",
                "http://223.110.243.152/PLTV/3/224/3221225626/index.m3u8",
                "http://223.110.243.138/PLTV/3/224/3221227208/index.m3u8",
                "http://kbpull.kktv8.com/livekktv/100987038/playlist.m3u8",
                "http://r.gslb.lecloud.com/live/hls/201606033000003fc13/desc.m3u8",
                "http://223.110.243.159/PLTV/3/224/3221225570/index.m3u8",
                "rtmp://hk2.hwadzan.com/liveedgelist/livetv",
                "http://58.211.172.37:1935/live/djpdpc/playlist.m3u8",
                "http://58.211.172.37:1935/live/ldmspc/playlist.m3u8",
                "http://58.211.172.37:1935/live/tcxwpc/playlist.m3u8",
                "http://61.18.0.107:8114/LIVES/Fsv_otype=1&FvSeid=&Fsv_filetype=1&Fsv_chan_hls_se_idx=12&Provider_id=&Pcontent_id=index.m3u8",
                "http://223.110.243.170/PLTV/3/224/3221227212/index.m3u8",
                "http://223.110.243.170/PLTV/3/224/3221227212/index.m3u8",
                "http://123.146.162.24:8013/tslslive/PU2vzMI/hls/live_sd.m3u8",
                "http://123.146.162.24:8013/tslslive/vWlnEzU/hls/live_sd.m3u8",
                "http://123.146.162.24:8013/tslslive/noEX9SG/hls/live_sd.m3u8",
                "rtmp://flv.ccdntech.com/transcoder/_definst_/vod164_Live/live",
                "http://202.103.212.146:8134/hls-live/livepkgr/_definst_/liveevent/live1.m3u8",
                "http://hls.mv.wa5.com/live/gssports1_900/playlist.m3u8",
                "http://stream2.xiancity.cn/xatv1/sd/live.m3u8",
                "http://stream2.xiancity.cn/xatv2/sd/live.m3u8",
                "http://stream2.xiancity.cn/xatv3/sd/live.m3u8",
                "http://stream2.xiancity.cn/xatv4/sd/live.m3u8",
                "http://stream2.xiancity.cn/xatv5/sd/live.m3u8",
                "http://223.110.243.145/PLTV/3/224/3221225579/index.m3u8",
                "http://223.110.243.145/PLTV/3/224/3221225579/index.m3u8",
                "http://zhibo.hkstv.tv/livestream/mutfysrq/playlist.m3u8",
                "http://live.hnxttv.com:9601/live/dspd/800K/tzwj_video.m3u8",
                "http://live.hnxttv.com:9601/live/xwzh/800K/tzwj_video.m3u8",
                "http://playback-livehyuwxjtv122qn.sobeycache.com/sobeylive/xjtv2.m3u8",
                "http://playback-livehyuwxjtv122qn.sobeycache.com/sobeylive/xjtv3.m3u8",
                "http://playback-livehyuwxjtv122qn.sobeycache.com/sobeylive/xjtv4.m3u8",
                "http://playback-livehyuwxjtv122qn.sobeycache.com/sobeylive/xjtv5.m3u8",
                "http://playback-livehyuwxjtv122qn.sobeycache.com/sobeylive/xjtv7.m3u8",
                "http://playback-livehyuwxjtv122qn.sobeycache.com/sobeylive/xjtv8.m3u8",
                "http://playback-livehyuwxjtv122qn.sobeycache.com/sobeylive/xjtv9.m3u8",
                "http://playback-livehyuwxjtv122qn.sobeycache.com/sobeylive/xjtv12.m3u8",
                "http://dlhls.cdn.zhanqi.tv/zqlive/88945_Kligp.m3u8",
                "http://stream1.huaihai.tv/xwzh/playlist.m3u8",
                "http://stream1.huaihai.tv/jjsh/playlist.m3u8",
                "http://stream1.huaihai.tv/wyys/playlist.m3u8",
                "http://stream1.huaihai.tv/ggpd/playlist.m3u8",
                "http://www.yatv.tv/tvstm/tv/live/yaan06/yaan06-128.m3u8",
                "http://www.yatv.tv/tvstm/tv/live/yaan05/yaan05-128.m3u8",
                "http://www.yatv.tv/tvstm/tv/live/yaan01/yaan01-128.m3u8",
                "http://www.yatv.tv/tvstm/tv/live/yaan04/yaan04-128.m3u8",
                "http://stream2.liveyun.hoge.cn/YATV2/sd/live.m3u8",
                "http://stream2.liveyun.hoge.cn/YATV1/sd/live.m3u8",
                "http://live.ybtvyun.com/video/s10006-ybtv1/index.m3u8",
                "http://live.ybtvyun.com/video/s10006-ybtv2/index.m3u8",
                "http://live.ybtvyun.com/video/s10006-cys/index.m3u8",
                "http://223.110.245.139:80/PLTV/3/224/3221226915/index.m3u8",
                "rtmp://fc_video.bsgroup.com.hk:443/webcast/bshdlive-pc",
                "http://202.69.67.66:443/webcast/bshdlive-mobile/playlist.m3u8",
                "http://ax.micaesoft.com/YMitv/YMITV_CN_eratv.m3u8",
                "http://indiatvnews-lh.akamaihd.net/i/ITV_1@199237//master.m3u8",
                "http://hbyn.chinashadt.com:1936/live/stream:ynms.stream_360p/playlist.m3u8",
                "http://hbyn.chinashadt.com:1936/live/stream:ynzh.stream_360p/playlist.m3u8",
                "http://61.150.114.78:8089/hls-live/livepkgr/_definst_/liveevent/ylwltv2.m3u8",
                "http://61.150.114.78:8089/hls-live/livepkgr/_definst_/liveevent/ylwltv1.m3u8",
                "http://live.zhihuizq.com:1935/live/4_channel-1_output-0_live/playlist.m3u8",
                "http://live.zhihuizq.com:1935/live/4_channel-2_output-0_live/playlist.m3u8",
                "http://live.zhihuizq.com:1935/live/4_channel-0_output-0_live/playlist.m3u8",
                "http://112.27.218.61:8112/120000001002/GCETV1/index.m3u8",
                "http://112.27.218.61:8112/120000001002/GCETV2/index.m3u8",
                "http://112.27.218.61:8112/120000001002/G_CETV-3/index.m3u8",
                "http://112.27.218.61:8112/120000001002/G_CETV-4/index.m3u8",
                "http://223.110.243.146/PLTV/3/224/3221225594/index.m3u8",
                "http://223.110.243.146/PLTV/3/224/3221225594/index.m3u8",
                "http://live.wifizs.cn/ggsh/sd/live.m3u8",
                "http://live.wifizs.cn/qdly/sd/live.m3u8",
                "http://live.wifizs.cn/xwzh/sd/live.m3u8",
                "http://hlslive.n21.cc/uHiS6o7/1500/live.m3u8",
                "http://hlslive.n21.cc/tm0Or7U/1500/live.m3u8",
                "http://live.zzbtv.com/live/live124/800K/tzwj_video.m3u8",
                "http://live.zzbtv.com/live/live123/800K/tzwj_video.m3u8",
                "http://live.zzbtv.com/live/live125/800K/tzwj_video.m3u8",
                "http://live.zzbtv.com/live/live122/800K/tzwj_video.m3u8",
                "http://live.zgbctv.com:8011/m11.m3u8",
                "http://live.zgbctv.com:8011/m10.m3u8",
                "http://qqpullhls.inke.cn/live/1526032684303089.m3u8",
                "http://dlhls.cdn.zhanqi.tv/zqlive/34338_PVMT5.m3u8",
                "http://dlhls.cdn.zhanqi.tv/zqlive/49427_jmACJ.m3u8",
                "http://dlhls.cdn.zhanqi.tv/zqlive/185488_aff4a.m3u8",
                "http://alhls.cdn.zhanqi.tv/zqlive/245602_ApoFG.m3u8",
                "http://47.95.172.168/vod-channel/20.m3u8",
                "http://dlhls.cdn.zhanqi.tv/zqlive/130564_7PZZr.m3u8",
                "http://aldirect.hls.huya.com/huyalive/30765679-2484192476-10669525441389264896-2789274564-10057-A-1512526507-1.m3u8",
                "http://ws4.streamhls.huya.com/huyalive/94525224-2467341872-10597152648291418112-2789274550-10057-A-1512526192-1_1200/playlist.m3u8",
                "http://alhls.cdn.zhanqi.tv/zqlive/182988_cn66n.m3u8"
    };

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_vido_play);

        mRecycleview = (RecyclerView) findViewById(R.id.recyclerview);
        mRefreshLayout = (SmartRefreshLayout) findViewById(R.id.smartrefreshlayout);

        //先设置管理器
        LinearLayoutManager manager = new LinearLayoutManager(VidoPlayActivity.this);
        mRecycleview.setLayoutManager(manager);
        for (int i = 0; i < arrName.length; i++) {
            VidoPlayBeen been = new VidoPlayBeen();
            been.setTitle(arrName[i]);
            been.setUri(arrUri[i]);
            mListBeen.add(been);
        }
        mAdapter = new VidoPlayAdapter(mListBeen);
        mRecycleview.setAdapter(mAdapter);


        mRefreshLayout.setRefreshHeader(new ClassicsHeader(VidoPlayActivity.this));

        //下拉刷新
        mRefreshLayout.setOnRefreshListener(new OnRefreshListener() {
            @Override
            public void onRefresh(RefreshLayout refreshlayout) {
                mRefreshLayout.finishRefresh();
            }
        });

        //上拉加载更多
        mRefreshLayout.setOnLoadmoreListener(new OnLoadmoreListener() {
            @Override
            public void onLoadmore(RefreshLayout refreshlayout) {
                mRefreshLayout.finishLoadmore();
            }
        });


        //设置adapter条目的点击事件
        mAdapter.setOnItemClickeListener(R.id.interduceviod, new BasicRecycleViewAdapter.ItemClickeListener() {
            @Override
            public void onItemClicked(View view, int position) {

                Intent intent = new Intent();
                intent.setClass(VidoPlayActivity.this, VidoListPlay.class);
                intent.putExtra("uri", arrUri[position]);
                intent.putExtra("name", arrName[position]);
                startActivity(intent);


            }
        });


    }


}
